package com.lanou.mapper;

import com.lanou.bean.Province;

import java.util.List;

public interface ProvinceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Province record);

    int insertSelective(Province record);

    Province selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Province record);

    int updateByPrimaryKey(Province record);

    //查询所有的省信息
    List<Province> getAllProvince();

    //根据省id查询省名字
    String selectProvinceByP(Integer provinceId);
}